package com.yupi.springbootinit.service.impl.inner;

import com.yupi.springbootinit.service.UserInterfaceInfoService;
import com.yupi.yuapicommon.service.InnerUserInterfaceInfoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * @author lkc
 * @version 1.0
 */
@DubboService
public class InnerUserInterfaceInfoServiceImpl implements InnerUserInterfaceInfoService {

    @Resource
    private UserInterfaceInfoService userInterfaceInfoService;

    @Override
    public boolean invoke(long interfaceInfoId, long userId) {
        return userInterfaceInfoService.invoke(interfaceInfoId,userId);
    }
}
